home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 013 / dd2.arc / DDEMO.BAT < prev    next >
Encoding:
DOS Batch File  |  1986-12-17  |  1.7 KB  |  32 lines

  1. echo off
  2.  
  3. echo ╔═══════════════════════════════════════════════════════════════════════════╗
  4. echo ║                                                                           ║
  5. echo ║    DDemo will list all the duplicate files on disk %%1 where %%1 is the     ║
  6. echo ║    the command line argument which should be the letter of the drive      ║
  7. echo ║    you want to check for duplicates using the Root directory as the       ║
  8. echo ║    parent directory for searching purposes.  For example:                 ║
  9. echo ║                                                                           ║
  10. echo ║                              DDemo  C                                     ║
  11. echo ║                                                                           ║
  12. echo ║    will list all the duplicate files on drive 'C:' beginning with the     ║
  13. echo ║    Root directory and searching all subdirectorys below that.             ║
  14. echo ║                                                                           ║
  15. echo ╚═══════════════════════════════════════════════════════════════════════════╝
  16.  
  17. if %1x==x goto error
  18. dd2 %1:\
  19. goto ender
  20.  
  21. :error
  22.   echo 
  23.   echo ╔═══════════════════════════════════════════════════════════════════════════╗
  24.   echo ║                                                                           ║
  25.   echo ║   Re-Type the DDemo.Bat command using a DOS drive letter as Argument %%1   ║
  26.   echo ║                                                                           ║
  27.   echo ║                          Example:  DDemo   C                              ║
  28.   echo ║                                                                           ║
  29.   echo ╚═══════════════════════════════════════════════════════════════════════════╝
  30.  
  31. :ender
  32.